package com.sec.bnjey.database;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DiagHistoryInfo {

	private int pkey;
	private String workTime;
	private String carName;
	private String workName;
	private int codeCount;
	private int forwardStatus;
	private boolean checked;

	public int getPkey() {
		return pkey;
	}

	public void setPkey(int pkey) {
		this.pkey = pkey;
	}

	public int getCodeCount() {
		return codeCount;
	}

	public void setCodeCount(int codeCount) {
		this.codeCount = codeCount;
	}

	public int getForwardStatus() {
		return forwardStatus;
	}

	public void setForwardStatus(int forwardStatus) {
		this.forwardStatus = forwardStatus;
	}

	public String getWorkTime() {
		return workTime;
	}

	public void setWorkTime(String workTime) {
		this.workTime = workTime;
	}

	public String getWorkName() {
		return workName;
	}

	public void setWorkName(String workName) {
		this.workName = workName;
	}

	public String getCurrentTimeString() {
		SimpleDateFormat simpleDateFormat = new SimpleDateFormat(
				"yyyy-MM-dd HH:mm:ss");
		Date date = new Date();
		return simpleDateFormat.format(date).toString();
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	public String getCarName() {
		return carName;
	}

	public void setCarName(String carName) {
		this.carName = carName;
	}

}
